package com.blrs.service.project.initiation.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.blrs.mapper.ProjectInitiationMapper;
import com.blrs.service.project.initiation.IProjectInitiationService;
import com.blrs.domain.ProjectInitiation;

/**
 * 项目信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
@Service
public class ProjectInitiationServiceImpl implements IProjectInitiationService {
    @Autowired
    private ProjectInitiationMapper projectInitiationMapper;

    /**
     * 查询项目信息列表
     * 
     * @param projectInitiation 项目信息
     * @return 项目信息
     */
    @Override
    public List<ProjectInitiation> selectProjectInitiationList(ProjectInitiation projectInitiation) {
        return projectInitiationMapper.selectProjectInitiationList(projectInitiation);
    }

    /**
     * 根据ID查询项目信息
     */
    @Override
    public ProjectInitiation selectProjectInitiationById(String projectId) {
        return projectInitiationMapper.selectProjectInitiationById(projectId);
    }

    /**
     * 修改项目信息
     *
     * @param projectInitiation 项目信息
     * @return 结果
     */
    @Override
    public int updateProjectInitiation(ProjectInitiation projectInitiation)
    {
        return projectInitiationMapper.updateProjectInitiation(projectInitiation);
    }
} 